//
//  BaseSearchViewController.m
//  ClassManager
//
//  Created by ihope99 on 2017/8/10.
//  Copyright © 2017年 GZX. All rights reserved.
//

#import "BaseSearchViewController.h"
#import "BaseSearchView.h"

@interface BaseSearchViewController ()<UITextFieldDelegate>

@end

@implementation BaseSearchViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    BaseSearchView *mSearchView = [[BaseSearchView alloc]initWithFrame:CGRectMake(20,20 + (44 - 28)/2, kScreenWidth-40, 40)];
    mSearchView.placeholder = @"请输入搜索内容";
    mSearchView.font = [UIFont systemFontOfSize:13.];
    //    mSearchView.textColor = kTitleColor;
    mSearchView.myDelegate = self;
    [self.view addSubview:mSearchView];
}
-(BOOL)textFieldShouldReturn:(UITextField *)textField{
    return YES;
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
